package com.space.components.domain.core.annotation;

import java.lang.annotation.*;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/5/25 5:45 下午
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface EnableEntityDiff {
    String[] exclude() default {};

    /**
     * 启用默认的过滤 {"log", "context"}
     * @return boolean
     */
    boolean enableDefaultExclude() default true;
}
